Struct SPSegmentationParameters

Struct Documentation

struct SPSegmentationParameters

Public Functions

void SetLevelParams(int level)
inline void Read(const FileNode &node)

Public Members

int superpixelNum = 300
double appWeight = 1.0
double regWeight = 1.0
double lenWeight = 1.0
double sizeWeight = 1.0
double dispWeight = 2000.0
double smoWeight = 0.2
double smoWeightCo = 0.2
double smoWeightHi = 0.2
double priorWeight = 0.2
double occPriorWeight = 15.0
double hiPriorWeight = 5.0
double noDisp = 9.0
double inlierThreshold = 3.0
int peblThreshold = 0
double updateThreshold = 0.01
int iterations = 1
int maxUpdates = 400000
int minPixelSize = 1
int maxPixelSize = 16
int reSteps = 10
bool instantBoundary = false
bool stereo = false
bool computeSGM = false
bool batchProcessing = true
bool inpaint = false
bool debugOutput = false
bool timingOutput = true
int randomSeed = 0
std::vector<std::pair<std::string, std::vector<double>>> levelParamsDouble
std::vector<std::pair<std::string, std::vector<int>>> levelParamsInt
std::map<std::string, std::function<void(SPSegmentationParameters&, double)>> updateDouble
std::map<std::string, std::function<void(SPSegmentationParameters&, int)>> updateInt